package org.spring.qq_chat_java.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String username; //用户名
    private String password; //密码
    private String account;  //账号
    private String avatar;  //头像
    private LocalDateTime lastLogin;   //上一次登录时间 1970-01-01 00:00:00
    private LocalDateTime createdTime;
}